#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
int main()
{

  pid_t id = getpid();
  pid_t fid = getppid();


  while(1)
  {
    sleep(1);
    printf("i am a process,ppid:%d,pid:%d\n",fid,id);
  }
  return 0 ;
}
